IApi.RemoveVariable method

Removes a user-defined variable.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsError RemoveVariable(
       UserVariable Variable
)
Function RemoveVariable(
       Variable As UserVariable
) As KsError

Parameters

Variable

Type: UserVariable

The variable you want to remove.

Return value

Type: KsError

A return code of a method.

Remarks

User variables cannot be deleted using RemoveVariable when the variables are used by Debug methods or Log.

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace